package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_stats_order")
@ApiModel(value="ShopStatsOrderEntity对象", description="")
public class ShopStatsOrderEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "账户id")
    private Long accountId;

    @Column(comment = "当日新增订单数")
    @ApiModelProperty(value = "当日新增订单数")
    private Integer orderNum;

    @Column(comment = "当日销售总额")
    @ApiModelProperty(value = "当日销售总额")
    private Double saleAmount;

    @Column(comment = "售后订单总数")
    @ApiModelProperty(value = "售后订单总数")
    private Integer afterSaleOrderNum;

    @Column(comment = "统计日期")
    @ApiModelProperty(value = "统计日期")
    private LocalDate statsDay;


}
